package com.dp.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;


@Data
public class TaxDeclarationRecordDto extends BaseMqMessage {
  
    /** 序号 */
    @ApiModelProperty(value = "序号", position = 1)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long sn;
    
    /** 网关设备编号 */
    @ApiModelProperty(value = "网关设备编号", position = 2)
    private String gatewayEquipmentNo;
    
    /** 端口号 */
    @ApiModelProperty(value = "端口号", position = 3)
    private Integer port;

    /** 油量 */
    @ApiModelProperty(value = "油量", position = 4)
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal oilVolume;

    /** 价格 */
    @ApiModelProperty(value = "价格", position = 5)
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal price;

    /** 金额 */
    @ApiModelProperty(value = "金额", position = 6)
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal amount;

    /** 记录时间 */
    @ApiModelProperty(value = "记录时间(yyyy-MM-dd HH24:MI:SS)", position = 7)
    private String recordTime;

}

